{extends file="get_usermod:layouts/main/layout.html"} {block name="content"} {load_language_text section="paypal3"} {block name="admin_paypal3_admin_paypal_configuration"} {block name="admin_paypal3_admin_paypal_configuration_styles"} {literal}
{/literal} {/block} {block name="admin_paypal3_admin_paypal_configuration_wrapper"}
{block name="admin_paypal3_admin_paypal_configuration_general"}
{block name="admin_paypal3_admin_paypal_configuration_title"}
{$txt.cfg_general}
{/block}
{block name="admin_paypal3_admin_paypal_configuration_general_form"}
{block name="admin_paypal3_admin_paypal_configuration_general_form_client_id_live"}
{$txt.cfg_client_id_live}
{/block} {block name="admin_paypal3_admin_paypal_configuration_general_form_secret_live"}
{$txt.cfg_secret_live}
{/block} {block name="admin_paypal3_admin_paypal_configuration_general_form_use_paypal_plus"}
{$txt.cfg_use_paypal_plus} {$txt.do_use_paypal_plus}{$txt.do_not_use_paypal_plus}
{/block} {block name="admin_paypal3_admin_paypal_configuration_general_form_submit"}
{/block}
{/block}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert"}
{block name="admin_paypal3_admin_paypal_configuration_expert_title"}
{$txt.cfg_expert}
{/block}
{block name="admin_paypal3_admin_paypal_configuration_expert_form"} {block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses"}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses_title"}
{$txt.cfg_orders_statuses}
{/block}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses_orderstatus_completed"}
{$txt.cfg_orderstatus_completed}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses_orderstatus_pending"}
{$txt.cfg_orderstatus_pending}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses_orderstatus_error"}
{$txt.cfg_orderstatus_error}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses_submit"}
{/block}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options"}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_title"}
{$txt.cfg_advanced_options}
{/block}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_use_ecs_title"}

{$txt.cfg_use_ecs_heading}

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_use_ecs_products"}
{$txt.cfg_use_ecs_products} {$txt.cfg_on}{$txt.cfg_off} {if !$content.ecs_allowed}{$txt.ecs_not_allowed}{/if}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_use_ecs_cart"}
{$txt.cfg_use_ecs_cart} {$txt.cfg_on}{$txt.cfg_off} {if !$content.ecs_allowed}{$txt.ecs_not_allowed}{/if}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_use_ecs_button_style"}
{$txt.cfg_ecs_button_style}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_installments_submit"}
{/block}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous"}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_title"}
{$txt.cfg_miscellaneous}
{/block}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_intent_for_ecmecs"}
{$txt.cfg_intent_for_ecmecs}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_allow_ecs_login"}
{$txt.cfg_allow_ecs_login} {$txt.do_allow_ecs_login}{$txt.do_not_allow_ecs_login}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_require_instant_funding"}
{$txt.cfg_require_instant_funding}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_selfpickup"}
{$txt.cfg_allow_selfpickup}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_save"}
{/block}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools"}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_title"}
{$txt.cfg_devtools}
{/block}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_mode"}
{$txt.cfg_mode} {$txt.cfg_mode_sandbox}{$txt.cfg_mode_live}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_note"}
{$txt.note}
{$txt.cfg_note_sandbox}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_client_id_sandbox"}
{$txt.cfg_client_id_sandbox}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_secret_sandbox"}
{$txt.cfg_secret_sandbox}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_debug_logging"}
{$txt.cfg_debug_logging} {$txt.debug_logging_on}{$txt.debug_logging_off}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_submit"}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_connection_check"}

{$txt.connect_check_url} | {$txt.connect_check_result}
--- | ---
{foreach from=$content.connect_check_urls item=url}
{$url} | {$txt.checking_connectivity}
{/foreach}

{/block}
{/block} {/block} {if $content.login_valid == true} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration"}
{block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_title"}
{$txt.webhook_configuration}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body"}
{if !$content.ssl_enabled} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_ssl_enabled"}

{$txt.note_ssl_disabled}

{$txt.note_check_url_accessibility}

    {$content.webhook_test_url}

{/block} {/if} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_explanation"}

{$txt.note_webhooks_explanation}

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_table"}

{if $content.webhook_id}
{$txt.active_webhook_id} | {$content.webhook_id}
{$txt.webhook_status} | {if $content.webhook_id_is_valid}{$txt.webhook_status_ok}{else}{$txt.webhook_status_invalid}{/if}
{else}
{$txt.webhook_status} | {$txt.webhook_not_registered}
{/if}

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_submit"}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_title"}

{$txt.webhooks_active}

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table"}

{block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table_thead"}
{block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table_thead_ths"} {$txt.webhook_id} | {$txt.webhook_url} | {$txt.webhook_events} {/block}
--- | --- | ---
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table_tbody"}
{foreach from=$content.webhooks->webhooks item=hook} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table_row"}
{block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table_row_tds"} {$hook->id} | {$hook->url} | {foreach from=$hook->event_types item=etype} {$etype->name} {/foreach} {/block}
{/block} {/foreach}
{/block}

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_status_update_title"}

{$txt.note_status_update}

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_status_update_pre"}

    {$content.status_update_url}

{/block}
{/block}
{/block} {if $content.pex_block}{$content.pex_block nofilter}{/if} {/if}
{* accordion-block cfg_expert *} {/block} {if $content.debug_output} {/if}
{/block} {block name="admin_paypal3_admin_paypal_configuration_scripts"} {literal}
{/literal} {/block} {/block} {/block}